<!DOCTYPE html>
<html>
<head>
	<title><%= title%></title>
	<script type="text/javascript" src="../bower_components/jquery/dist/jquery.js"></script>
	<script type="text/javascript" src="../bower_components/bootstrap/dist/js/bootstrap.js"></script>
	<link rel="stylesheet" type="text/css" href="../bower_components/bootstrap/dist/css/bootstrap.css">
	<style type="text/css">
		h2{
			margin-top: 80px;
			margin-bottom: 40px;
			color: #5bc0de;
		}
	</style>
</head>
<body>
<div class="container">
	<div class="col-sm-4 col-sm-offset-4">
		<h2 class="text-center"><%= title%></h2>
		<form action="modify" method="post">
			<input type="hidden" name="id" value="<%= user.id%>">
			<input type="hidden" name="truepass" value="<%= user.password%>">
			<div class="form-group">
				<label>用户名：</label>
				<input type="text" class="form-control" name="name" value="<%= user.name%>" placeholder="User Name">
			</div>
			<div class="form-group">
				<label>原密码：</label>
				<input type="password" class="form-control" name="oldpassword" placeholder="Password">
			</div>
			<div class="form-group">
				<label>新密码：</label>
				<input type="password" class="form-control" name="password" placeholder="Password">
			</div>
			<button type="submit" class="btn btn-info  btn-block">确认修改</button>
			<a class="btn btn-block btn-warning" href="/admin">退出</a>
			</div>
		</form>
	</div>
</div>
</body>
</html>